﻿using System.Collections.Generic;
using System.ServiceModel;
using VMukti.Business.CommonDataContracts;
using VMukti.Business.WCFServices.BootStrapServices.DataContracts;
using System.Data;

namespace VMukti.Business.WCFServices.SuperNodeServices.BasicHttp
{
    [ServiceContract]
    public interface IHttpDataBaseService
    {
        [OperationContract(IsOneWay = true)]
        void svcJoin();

        [OperationContract(IsOneWay = false)]
        clsDataBaseInfo svcExecuteDataSet(string querystring);

        [OperationContract(IsOneWay = false, Name = "ExecuteStoredProcedure")]
        clsDataBaseInfo svcExecuteDataSet(string spName,clsSqlParameterContract objSParam);

        [OperationContract(IsOneWay = true)]
        void svcExecuteNonQuery(string spName, clsSqlParameterContract objSParam);
       
        [OperationContract(IsOneWay=false)]
        int svcExecuteReturnNonQuery(string spName, clsSqlParameterContract objSParam);

    }

    public interface IHTTPDataBaseServiceChannel : IClientChannel, IHttpDataBaseService
    {
    }



}
